package cn.kgc.springboot.day04.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author 课工场
 * @date 2024/3/21
 * @description
 */
@Controller
@RequestMapping("hello")
public class HelloController {


    @GetMapping("toIndex")
    public String  toIndex(){
        return "index";
    }


}
